<!-- 基本信息 -->
<div class="m-panel">
	<div class="m-panel-title">
		<span>基本信息</span>
	</div>
	<div class="m-panel-body base-info-div">
		<form class="bs-example form-horizontal xs-form">
            <div id="base_info_monitor_div">
            	<div class="form-group">
                    <label class="col-lg-2 control-label">监控器名称：</label>
                    <label class="col-lg-4 control-label tl" data-id="monitorName"></label>
                    <label class="col-lg-2 control-label">监控器类型：</label>
                    <label class="col-lg-4 control-label tl" data-id="monitorTypeName"></label>
                </div>
            </div>
            <div id="asset_info_monitor_div">
            	<div class="form-group">
            	</div>
                <div class="form-group">
                    <label class="col-lg-2 control-label">被监控资产名称：</label>
                    <label class="col-lg-4 control-label tl" data-id="assetName"></label>
                    <label class="col-lg-2 control-label">资产类型：</label>
                    <label class="col-lg-4 control-label tl" data-id="assetTypeName"></label>
                </div>
                <div class="form-group">
                    <label class="col-lg-2 control-label">IP：</label>
                    <label class="col-lg-4 control-label tl" data-id="mainIp"></label>
                    <label class="col-lg-2 control-label">管控域：</label>
                    <label class="col-lg-4 control-label tl" data-id="securityDomainName"></label>
                </div>
                <div class="form-group">
                    <label class="col-lg-2 control-label">操作系统：</label>
                    <label class="col-lg-4 control-label tl" data-id="osTypeName"></label>
                    <label class="col-lg-2 control-label" style="display: none;">物理位置：</label>
                    <label class="col-lg-4 control-label tl" data-id="locationCbName" style="display: none;"></label>
                </div>
            </div>
            <!-- 运行信息 -->
            <div id="runtime_info_div">
                <div class="form-group">
                    <label class="col-lg-2 control-label">系统运行时间：</label>
                    <label class="col-lg-4 control-label tl" data-id="systemRunTimes"></label>
                    <label class="col-lg-2 control-label"></label>
                    <label class="col-lg-4 control-label tl" data-id=""></label>
                </div>
            </div>
        </form>
    </div>
</div>

<div class="m-panel">
    <div class="m-panel-title">
        <span>存储信息</span>
    </div>
    <div class="m-panel-body base-info-div">
        <form class="bs-example form-horizontal xs-form">
            <div id="storge_info_monitor_div">
                <div class="form-group">
                    <label class="col-lg-2 control-label">存储编号：</label>
                    <label class="col-lg-4 control-label tl" data-id="deviceId"></label>
                    <label class="col-lg-2 control-label">存储类型：</label>
                    <label class="col-lg-4 control-label tl" data-id="deviceType"></label>
                </div>
            </div>
            <div>
                <div class="form-group"></div>
                <div class="form-group">
                    <label class="col-lg-2 control-label">系统状态：</label>
                    <label class="col-lg-4 control-label tl" data-id="status"></label>
                    <label class="col-lg-2 control-label">存储总容量：</label>
                    <label class="col-lg-4 control-label tl" data-id="totalCapacity"></label>
                </div>
                <div class="form-group">
                    <label class="col-lg-2 control-label">存储使用容量：</label>
                    <label class="col-lg-4 control-label tl" data-id="sedCapacity"></label>
                    <label class="col-lg-2 control-label">版本号：</label>
                    <label class="col-lg-4 control-label tl" data-id="version"></label>
                </div>
            </div>
        </form>
    </div>
</div>


<script type="text/javascript">
$(document).ready(function (){
require(['/js/plugin/monitor/catagory/hw_oceanstor.js'] ,function (hw_oceanstor){

var urlParamObj = index_query_param_get()

view_init()

function view_init()
{
	$(".monitor-tab").hide()
    urlParamObj.time = $("#query_time_label").text()
    urlParamObj.inputTime = $("#query_time_label").text()
    urlParamObj.edId = urlParamObj.assetId
    hw_oceanstor.base_info(urlParamObj)
    hw_oceanstor.storge_info(urlParamObj)
}

window.index_monitor_init = function ()
{
    view_init()
}

});
});
